<template>
  <div class="topnav">
    <van-nav-bar  left-arrow>
      <template #left>
        <div class="left-box">
          <div class="logo">
            <img src="../assets/images/home_active.png" class="auto-img" />
          </div>
          <div class="title">1+1>2咖啡屋</div>
        </div>
      </template>
      <template #right>
        <router-link class="right-title" tag="div" to="/">
          先逛一逛
        </router-link>
      </template>
    </van-nav-bar>
  </div>
</template>

<script>
import "../assets/less/topnav.less";
export default {
  name: "TopNav",
};
</script>
